package com.exer.basic.collections;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

public class CollectionsDemo {

    public static void main(String[] args) {
        List<Integer> list = Arrays.asList(1, 2, 3, 7, 6);
        Collections.sort(list);
        list.forEach(System.out::println);
    }
}
